:root{
  --orange: #F08429;
  --light:#FFFFFF;
  --dark: #13092A;
  --shadow:#000000;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  padding: 0;
  padding-right: 0.5rem;
}

.container {
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem; 
  overflow: hidden;
}

.bg{
    background-image: url(../images/homepage/background.png);
    background-repeat:repeat-y;
    background-size:contain;
    background-position: center;
    background-attachment: scroll;
}

/* Navigation Bar */

#navLeft{
  max-height: 3.1rem;
  margin: -10%;
}

#navRight{
    margin-right: 1.75rem;
}

.header{
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color:var(--orange);
    min-width: 100vw;
    z-index: 1001;
    box-shadow: 0 7px 50px var(--shadow);
    position: fixed;
}

.header a{
    text-decoration: none;
    font-family: 'Bebas Neue Cyrillic';
    color: var(--dark);
    padding: 1rem;
    font-size: 2rem;
}

/* Navigation Bar */

/* About Page */

.about_pics_container{
  position: relative;
  padding-top: 2%;
}

.name{
  max-width: 35%;
  margin-top: -2%;
}

.text_bg{
  max-width: 80%;
  margin: -5%;
  margin-top: -11%;
  margin-left: -7%;
}

.about_pic_indiv_mig{
  position: absolute;
  margin-right: -15%;
  right: 0;
  bottom: 0;
  max-width: 85%;
}

.about_pic_indiv{
  position: absolute;
  margin-right: -15%;
  right: 0;
  bottom: 0;
  max-width: 85%;
}

.about_text{
  font-size: 2.2rem;
  position: absolute;
  top: 34%;
  left: 8%;
  font-family:'Zing Rust Demo Base Regular';
}

.diff_font{
  font-family: 'Sprite Graffiti';
}

ul{
  margin-top: 0;
}

.about_content{
  position: relative;
}

.about_p1{
  position: absolute;
  font-size: 2rem;
  font-family:'Zing Rust Demo Base Regular';
  top: 5.5em;
  left: 4.5em;
  width: 50%;
  text-align: justify;
}

.about_p2{
  position: absolute;
  font-size: 2rem;
  font-family:'Zing Rust Demo Base Regular';
  width: 50%;
  top: 8em;
  right: 4.5em;
  text-align: justify;
}

.about_pic{
  display: block;
  margin: auto ;
}

.about_pic2{
  width: 100%;
  display: block;
  margin: auto;
}

.about_desc{
  font-family: 'Zing Rust Demo Base Regular';
  font-size: 3.3rem;
  width: 80%;
  display: block;
  margin: auto;
  text-align: center;
}

#about_us{
  width: 60%;
  margin-bottom: -2%;
}

#who_we_are{
  width: 90%;
  margin-top: -10%;
  margin-bottom: -10%;
}

/* About Page */

/* Home Page */

.overflow {
  overflow: visible;
}

.pics{
    display: block;
    margin: auto;
    position: relative;
    min-height: 100vh;
}

.overlay{
  position: absolute;
  transition: all 300ms ease;
}

.ajpic{
  left: 14%;
  bottom: 0;
}

.ajpic:hover{
  max-width: 90%;
}

.migpic{
  max-width: 50%;
  right: 14%;
  bottom: 0;
}

.ajname{
  max-width: 100%;
  left: 5%;
  bottom: 0;
}

.ajname:hover{
  transform: rotate(10deg);
}

.migname{
  max-width: 100%;
  right: 0;
  top: 10%;
  z-index: 99;
}

.migname:hover{
  transform: rotate(-10deg);
}

/* Home Page */

/* Performances */

#umeet{
  background-image: url("../images/performances/compet1(umeet).JPG");
}

.perfCategory{
  max-width: 90%;
  display: block;
  margin: auto;
  margin-top: -10%;
  margin-bottom: -15%;
}

.videoPlayer{
  padding: 2em;
  position: relative;
}

.videoPadding{
  padding-top: 2%;
  display: flex;
  align-content: center;
  justify-content: center;
  min-height: 100vh;
}

video{
  max-width: 70%;
  display: block;
  margin: auto;
  box-shadow: 0 7px 20px #000000;
}

.videos{
  max-width: 70%;
  display: block;
  margin: auto;
  box-shadow: 0 7px 20px #000000;
}

.vidContainer{
  max-width: 100%;
  padding: 2rem;
  margin: 1rem;
  padding-bottom: -5rem;
  position: relative;
  overflow: hidden;
}

.vidTitle{
  width: 35%;
  font-size: 2em;
  text-align: center;
  background-color:var(--dark);
  position: absolute;
  bottom: -9rem;
  left:0;
  right: 0;
  margin-inline: auto;
  font-family: 'Zing Rust Demo Base Regular';
  border-radius: 40px;
  padding: 1rem;
}

.vidTitle-m{
  width: 50%;
  font-size: 0.8em;
  text-align: center;
  background-color:var(--dark);
  position: absolute;
  bottom: 0;
  left:0;
  right: 0;
  margin-inline: auto;
  font-family: 'Zing Rust Demo Base Regular';
  border-radius: 25px;
  padding: 0.5rem;
  display: none;
}

.event{
  color: var(--light);
}

.place{
  color: var(--orange);
}

.videos:hover{
  max-width: 85%;
}

@media (hover){

.videos{
  transition: all 500ms ease;
}

  .vidContainer:hover .vidTitle{
    animation: show-data 1s forwards;
  
  }
  
  .vidContainer:hover{
    animation: remove-overflow 2s forwards;
  }
  
  .vidContainer:not(:hover){
    animation: show-overflow 2s forwards;
  }
  
  .vidContainer:not(:hover) .vidTitle{
    animation: remove-data 1s forwards;
  }
}

@keyframes show-data{
  50%{
      transform: translateY(-10rem);
  }
  100%{
      transform: translateY(-7rem);
  }
}

@keyframes remove-overflow{
  to{
      overflow: initial;
  }
}

@keyframes remove-data{
  0%{
      transform: translateY(-7rem);
  }
  50%{
      transform: translateY(-10rem);
  }
  100%{
      transform: translateY(.5rem);
  }
}

@keyframes show-overflow{
  0%{
      overflow: initial;
      pointer-events: none;
  } 
  50%{
      overflow: hidden;
  } 
}

/* Performances */

/* Contact Page */

#contactContent{
  padding-top: 10%;
}

.cards{
  display: flex;
  align-items: center;
}

.card{
  background: #DDE6ED;
  width: 15rem;
  height: 25rem;
  margin: 0.625rem;
  border-radius: 0.938rem;
  padding: 1em;
  padding-top: 1.25em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 7px 50px var(--shadow);
}

.cardPageContainer{
  display: flex;
  justify-content: space-evenly;
  gap: 0.625rem;
  padding: 4%;
  margin-top: -10%;
}

.contact{
  width: 50%;
  display: block;
  margin: auto;
}

.contactName{
  font-family: 'Zing Rust Demo Base Regular';
  font-size: 1.125;
  font-weight: 600;
}

.contactButton{
  display: flex;
  justify-content: center;
  margin-top: 14px;
  background: linear-gradient(to right, var(--orange), #873b05);
  color: #DDE6ED;
  font-family: 'Zing Rust Demo Base Regular';
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}

.card-image{
  width: 90%;
  margin-bottom: 15px;
  background-size: cover;
  border-radius: 15px;
  display: block;
  margin: auto;
}

.userinfo{
  font-family: 'Zing Rust Demo Base Regular';
  margin: 4px;
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
} 

#userfont{
  font-family: 'Zing Rust Demo Base Regular';
}

/* Contact Page */

h1{
  text-align: center;
  font-size: 5rem;
}

h2{
  margin: auto;
  display: block;
  text-align: center;
  font-size: 3.125rem;
}

form {
  display: center;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  color: #555;
  display: block;
  margin-top: 0.625rem;
  margin-bottom: 0.3rem;
  color: brown;
  font-family: 'Zing Rust Demo Base Regular';
  font-size: 1.5em;
}
    
input, textarea {
  margin-bottom: 0.938;
  padding: 0.625rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  font-size: 16px;
}
    
textarea {
  resize: none;
  display: block;
  max-width: 96%;
}
    
button {
  width: 100%;
  padding: 10px;
  background-color: royalblue;
  color: white;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  font-size: 1rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 6px;
  border: 1px solid white;
  border-radius: 1.5rem;
  box-sizing: border-box;
}

input[type="submit"]{
  display: block;
  width: 100%;
  padding: 0.625rem;
  margin-top: 1.25;
  border-radius: 1.5rem;
  background-color: #d97593;
  color: white;
  border: none;
  font-weight: bold;
}

.contact-container {
  max-width: 37.5rem;
  margin: auto;
  background: #fff;
  padding: 1.875rem;
  border-radius: 3rem;
  background-color: antiquewhite;
  box-shadow: 0 7px 50px var(--shadow);
}

.title{
  margin: 1.875rem auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.details{
  text-align: center;
  margin: auto;
  padding: 1.25rem;
  font-size: 1.563rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}